<template>
  <div class="log_list">
    <p>
      <span class="title">待办事项</span>
    </p>
    <div class="systemList">
      <div
        class="systemList_item"
        v-for="(item,index) in ListData"
        :key="index"
        @click="toSystemList(item.currentIndex,item.total)"
        :class="item.total==0?'currentBlack':''"
      >
        <p
          class="tx1"
          v-if="item.currentIndex != '11'&& item.currentIndex != '12'&& item.currentIndex != '13'"
        ><span>{{item.title}}</span><span>({{item.total}})</span></p>
        <p
          class="tx2"
          :class="adminShow?'current_tx':''"
          v-if="item.currentIndex == '11' && (txShowBth || adminShow)"
        ><span>{{item.title}}</span><span>({{item.total}})</span></p>
        <p
          class="tx2"
          :class="adminShow?'current_tx':''"
          v-if="item.currentIndex == '12' &&  (tkShowBtn || adminShow)"
        ><span>{{item.title}}</span><span>({{item.total}})</span></p>
        <p
          class="tx2"
          v-if="item.currentIndex == '13' &&  (czShowBtn || adminShow)"
        ><span>{{item.title}}</span><span>({{item.total}})</span></p>
      </div>
    </div>
  </div>
</template>
<script src="./systemList.js"></script>

<style scoped src="./systemList.css"></style>